#ifndef  _PWM_H
#define  _PWM_H

#include "sys.h" 

#define PWMA   TIM1->CCR1  //PA8
#define AIN1   PBout(9)
#define AIN2   PBout(8)

#define BIN1   PAout(2)
#define BIN2   PAout(3)
#define PWMB   TIM1->CCR4  //PA11


void PWM_Init_TIM1(u16 Per,u16 Psc);
void Motor_Init(void);
#endif
